package cc.wanforme.chipmunity.system.po;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import cc.wanforme.chipmunity.common.consts.InnerReplyEnum;

public class InnerReply implements Serializable{

	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	private Long id;
	
	private Long replyId;
	
	private Long userId;
	
	private Long ireplyId;
	
	private String content;
	
	private Date ireplyTime;
	
	private String state;

	public InnerReply() {}
	
	public InnerReply(Long replyId, Long userId, Long ireplyId, String content) {
		super();
		this.replyId = replyId;
		this.userId = userId;
		this.ireplyId = ireplyId;
		this.content = content;
		
		this.ireplyTime = new Date();
		this.state = InnerReplyEnum.STATE_ON.getState();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getReplyId() {
		return replyId;
	}

	public void setReplyId(Long replyId) {
		this.replyId = replyId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getIreplyId() {
		return ireplyId;
	}

	public void setIreplyId(Long ireplyId) {
		this.ireplyId = ireplyId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getIreplyTime() {
		return ireplyTime;
	}

	public void setIreplyTime(Date ireplyTime) {
		this.ireplyTime = ireplyTime;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	
}
